GDK W32: fix monitor pruning code
authorРуслан Ижбулатов <lrn1986@gmail.com>
Thu, 23 Nov 2017 07:15:28 +0000 (07:15 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Sat, 2 Dec 2017 10:38:29 +0000 (10:38 +0000)
commit323a601123c341886c39f55096d656c750f028a9
tree48d407efb9f39638370c4391b84f3c23c2ecd2ad
parent50bbac60054b1558dcd459bdd8a5a93bda078b38
GDK W32: fix monitor pruning code

Decrement the counter for each removed element, otherwise we skip
one element every time we remove one. Also, no need for continue here.
gdk/win32/gdkmonitor-win32.c